<html xmlns="http//www.w3.org/1999/xhtml">
<head>
</head>

<body>
asjdfsd 
<script>
function submintform(){
    document.gggg.action = "exportExcelCsv.php";
    document.gggg.submit();
}

</script>
<form method="post" action="exportExcelCsv.php" id="gggg" name="gggg">
<input type="hidden" value="300" id="1234"/>
<input type="button" onclick="submintform()" value="rrrrr" name="fffff"/>
</form>      
</body>
</html>